<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
  <style>
    :root {
      --themeColor: #56c6f5;
    }

    body {
      background-color: #fff;
    }

    table {
      margin-top: 30px;
      border-collapse: collapse;
    }

    table thead td {
      width: 15vw;
      height: 4vh;
      text-align: center;
      line-height: 4vh;
      color: #fff;
      border: 1px solid black;
      background-color: var(--themeColor);
    }

    table tbody td {
      width: 15vw;
      height: 4vh;
      text-align: center;
      line-height: 4vh;
      border: 1px solid black;
    }
  </style>
</head>

<body>
  <table>
    <thead>
      <tr>
        <td>考试ID</td>
        <td>考生</td>
        <td>成绩</td>
        <td>等级</td>
        <td>管理</td>
      </tr>

    </thead>
    <tbody>

    </tbody>
  </table>
</body>

<script>
  // 改变主题
  function colorSx() {
    let colors = localStorage.getItem('color')
    document.documentElement.style.setProperty('--themeColor', colors)
  }
  colorSx()
  window.onload = function () {
    let login = JSON.parse(localStorage.getItem('login'))
    if (login == 1) {
      alert('请先登录')
      window.location.href = 'login.html'
    }
  }
</script>
<script src="../js/resultManager.js"></script>

</html>